package com.googlecode.jerato.library.view;

import com.googlecode.jerato.library.Settings;
import com.googlecode.jerato.library.SystemService;

public class ViewSettings extends Settings{
	protected static final long serialVersionUID = ViewSettings.class.hashCode();

	protected static final String PATH = "com/googlecode/jerato/library/JeratoViewSettings.xml";
	protected static final Settings _settings = new ViewSettings();

	private ViewSettings(){
		super(ViewSettings.class.getName(), PATH);
	}

	public static Settings getInstance(){
		if(!_settings.isLoaded()){
			_settings.load();
		}
		return _settings;
	}
	public static void main(String[] args) {
		SystemService.staticInitialize();
		String target = ViewSettings.getInstance().getString("/");
		System.out.println("/=" + target);
		SystemService.staticFinalize();
	}
	
}
